cmake_minimum_required(VERSION 3.14)

project(unwind-test)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g ")

add_subdirectory(stack-backtrace)
#link_directories(/home/sdc/unwind-install/arm64/lib)
aux_source_directory(. SRC_FILES)

link_libraries(pthread)
add_executable(${PROJECT_NAME} ${SRC_FILES})

target_link_libraries(${PROJECT_NAME} PRIVATE func-stack-backtrace)

